package com.example.fitnessservice.module.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Place {
    private Integer id;
    private String name;
    private Double longitude;
    private Double latitude;
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    private String telephone;
    private Double distance;

    private List<CourseDetails> courseDetails;
    private List<CourseDetailsCamp> camps;
}
